package demo;

public class Circle extends Shape {
    @Override
    public double getArea(double x) {
        double area = Math.PI * x * x;
        return area;
    }

    @Override
    public double getLength(double x) {
        double length = 2 * Math.PI * x;
        return length;
    }
}
